package com.pro.h5case.common.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.pro.h5case.common.model.BAdmin;

public interface BAdminMapper {
    int deleteByPrimaryKey(Integer adId);

    int insert(BAdmin record);

    int insertSelective(BAdmin record);

    BAdmin selectByPrimaryKey(Integer adId);
    
    List<BAdmin> selectAdminByMap(Map<String,Object> parameter);

    int updateByPrimaryKeySelective(BAdmin record);

    int updateByPrimaryKey(BAdmin record);
    
    int countByString(@Param("adName") String adName,@Param("adPassword") String adPassword);

	int countAdminByMap(Map<String, Object> parameter);

	int deleteByPKey(int id);

	int updateAdminByMap(Map<String, Object> parameter);
}